#ifndef __VGDB_H__
#define __VGDB_H__



#include "config.h"
#include "gdb.h"
#include "vim.h"
#include "vmsg.h"
#include "vcmd.h"
#include "vbuf.h"


#define VGDB_VGS_QUIT   0
#define VGDB_VGS_START  1
#define VGDB_VGS_RUN    2

typedef struct{
    pid_t       pid;
    int         state;
}vgdb_t;

extern vgdb_t       g_vgdb_instance;
extern int          vgdb_start(const char*);
extern const char  *startvgdb(const char*);

#define vgdb()      (&g_vgdb_instance)


#endif
